import {createRouter, createWebHistory,RouteRecordRaw} from 'vue-router'

const routes:Array<RouteRecordRaw> = [
    {
        path: '/',
        name: 'AddFinan',
        component: () => import('../components/AddFinan.vue')
    },
    {
        path: '/ShowFinan',
        name: 'ShowFinan',
        component: () => import('../components/ShowFinan.vue')
           
    },
    {
        path: '/UpdateFinan/:Fid',
        name: 'UpdateFinan',
        component: () => import('../components/UpdateFinan.vue')
    }
]

const router = createRouter({
    history: createWebHistory(),
    routes
})

export default router